class LostWindow < Gosu::Window
  def initialize
    super(SCREEN_WIDTH, SCREEN_HEIGHT, false)
    self.caption = "U GOT PWNED"
    @sng = Gosu::Song::new(self, "media/game_over.ogg")
    @sng.play
  end
  def button_down(id)
    if id == Gosu::Button::KbEscape
      close
    end
  end
  def draw
    @game_over = Gosu::Image.new(self, "media/game_over.png", false)
    @game_over.draw( 0, 0, ZOrder::Title )
  end
end
